hvmloader: add fields for SMBIOS 2.4 compliance
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 23 Aug 2017 15:47:38 +0000 (17:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 23 Aug 2017 15:47:38 +0000 (17:47 +0200)
commit98df75f2782e47c47002d57ca5c5832de4e903fc
treea51c5ab0cb95174d93af3c176e2b7704c720f821
parent2993eca8288f36fac12482ff370cd470ae9e7cbb
hvmloader: add fields for SMBIOS 2.4 compliance

The version of SMBIOS set in the entry point is 2.4, however several
structures are missing fields required by 2.4. Fix this by adding the
missing fields, this is based on the documents found at the DMTF site
[0].

Most fields are set to 0 (undefined/not specified), except for the
cache related handlers that need to be initialized to 0xffff in order
to signal that the information is not provided.

[0] https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.1.1.pdf

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported by: Chris Gilbert <chris.gilbert@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/firmware/hvmloader/smbios.c
tools/firmware/hvmloader/smbios_types.h